package com.yjj.springboot3.mapper;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yjj.springboot3.model.entity.Post;
import com.yjj.springboot3.model.entity.PostFavour;
import org.apache.ibatis.annotations.Param;

/**
* @author 王洪顺
* @description 针对表【post_favour(帖子收藏)】的数据库操作Mapper
* @createDate 2025-04-20 19:13:34
* @Entity com.yjj.springboot3.domain.PostFavour
*/
public interface PostFavourMapper extends BaseMapper<PostFavour> {
    Page<Post> listFavourPostByPage(IPage<Post> page, @Param(Constants.WRAPPER) Wrapper<Post> queryWrapper,
                                    long favourUserId);

}




